import request from '@/utils/request';

export async function getPayInfoByPage (params: any) {
    return request('/api/project/getPayInfoByPage', {
    method: 'POST',
    data: params,
  });
}



export async function addPayInfo (params: any) {
    return request('/api/project/addPayInfo', {
    method: 'POST',
    data: params,
  });
}

export async function updatePayInfo (params: any) {
    return request('/api/project/updatePayInfo', {
    method: 'POST',
    data: params,
  });
}

export async function delPayInfo (params: any) {
    return request('/api/project/delPayInfo', {
    method: 'POST',
    data: params,
  });
}


export async function exportPayInfo(params: any) {
    return request('/api/project/exportPayInfo', {
    method: 'POST',
    data: params,
    responseType: 'blob',
  });
}
export default { getPayInfoByPage, addPayInfo, updatePayInfo, delPayInfo, exportPayInfo }
